package com.qfedu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author LiJH
 * @date 2023-01-31
 */
@Controller
@RequestMapping("user")
public class UserController {
    @RequestMapping("index")
    public String demo02(Model model) {
        model.addAttribute("msg","thymeleaf");
        return "demo";
    }
}